package com.nbgs.demo.service.impl;

import com.nbgs.demo.dao.AreaMapper;
import com.nbgs.demo.model.Area;
import com.nbgs.demo.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AreaServiceImpl implements AreaService {
    @Autowired
    private AreaMapper areaMapper;
    @Override
    public List<String> areaName() {
        return areaMapper.areaName();
    }

    @Override
    public String findNum(String areaName) {
        return areaMapper.findNum(areaName);
    }
}
